<template>
	<view class="w-700 b_bai p-25">
		<u-collapse>
			<u-collapse-item :title="item.title" v-for="(item, index) in itemList" :key="index">
				{{item.answer}}
			</u-collapse-item>
		</u-collapse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				itemList: [],
			}
		},
		onLoad(){
			this.getList()
		},
		methods:{
			async getList(){
				let data = await this.$request.post('/api/common/answerList')
				console.log(data)
				this.itemList = data.data.data
			}
		}
	}
</script>

<style>
</style>
